home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d913.lha / AssignPrefs / Source / icon.c < prev    next >
C/C++ Source or Header  |  1993-10-03  |  3KB  |  79 lines

  1. /* Workbench2.0:Programming/Aztec/source/AssignPrefs/icon.c --- Data for def_assign icon
  2.  *
  3.  */
  4.  
  5. #include <exec/types.h>
  6. #include <intuition/intuition.h>
  7. #include <workbench/workbench.h>
  8.  
  9. UWORD def_assignI1Data[] =
  10. {
  11. /* Plane 0 */
  12.     0x0000,0x0000,0x0004,0x0000,0x0000,0x0000,0x0001,0x0000,
  13.     0x0000,0x07FF,0x8000,0x4000,0x0000,0x1800,0x6000,0x1000,
  14.     0x0000,0x20FC,0x1000,0x0800,0x0000,0x4102,0x0800,0x0C00,
  15.     0x0000,0x4082,0x0800,0x0C00,0x0000,0x4082,0x0800,0x0C00,
  16.     0x0000,0x2104,0x0800,0x0C00,0x0000,0x1E18,0x1000,0x0C00,
  17.     0x0000,0x0060,0x2000,0x0C00,0x0000,0x0080,0xC000,0x0C00,
  18.     0x0000,0x0103,0x0000,0x0C00,0x0000,0x021C,0x0000,0x0C00,
  19.     0x0000,0x0108,0x0000,0x0C00,0x0000,0x00F0,0x0000,0x0C00,
  20.     0x0000,0x0108,0x0000,0x0C00,0x0000,0x0108,0x0000,0x0C00,
  21.     0x4000,0x00F0,0x0000,0x0C00,0x1000,0x0000,0x0000,0x0C00,
  22.     0x0400,0x0000,0x0000,0x0C00,0x01FF,0xFFFF,0xFFFF,0xFC00,
  23. /* Plane 1 */
  24.     0xFFFF,0xFFFF,0xFFF8,0x0000,0xC924,0x9249,0x2496,0x0000,
  25.     0xD249,0x2000,0x4925,0x8000,0xE492,0x47FF,0x9249,0x6000,
  26.     0xC924,0x9F03,0xE492,0x5000,0xD249,0x3E91,0xF124,0x9000,
  27.     0xE492,0x3F25,0xF249,0x2000,0xC924,0xBF49,0xF492,0x4000,
  28.     0xD249,0x1E93,0xF124,0x9000,0xE492,0x4127,0xE249,0x2000,
  29.     0xC924,0x921F,0xC492,0x4000,0xD249,0x247F,0x0924,0x9000,
  30.     0xE492,0x48FC,0x9249,0x2000,0xC924,0x91E1,0x2492,0x4000,
  31.     0xD249,0x24F2,0x4924,0x9000,0xE492,0x4904,0x9249,0x2000,
  32.     0xC924,0x92F1,0x2492,0x4000,0xD249,0x24F2,0x4924,0x9000,
  33.     0x3492,0x4904,0x9249,0x2000,0x0D24,0x9249,0x2492,0x4000,
  34.     0x0349,0x2492,0x4924,0x9000,0x0000,0x0000,0x0000,0x0000,
  35. };
  36.  
  37. struct Image def_assignI1 =
  38. {
  39.     0, 0,            /* Upper left corner */
  40.     54, 22, 2,            /* Width, Height, Depth */
  41.     def_assignI1Data,        /* Image data */
  42.     0x0003, 0x0000,        /* PlanePick, PlaneOnOff */
  43.     NULL            /* Next image */
  44. };
  45.  
  46. UBYTE *def_assignTools[] =
  47. {
  48.     "ACTION=use",
  49.     NULL
  50. };
  51.  
  52. struct DiskObject def_assign =
  53. {
  54.     WB_DISKMAGIC,        /* Magic Number */
  55.     WB_DISKVERSION,        /* Version */
  56.     {                /* Embedded Gadget Structure */
  57.     NULL,            /* Next Gadget Pointer */
  58.     0, 0, 54, 23,        /* Left,Top,Width,Height */
  59.     GADGIMAGE | GADGBACKFILL,    /* Flags */
  60.     RELVERIFY | GADGIMMEDIATE,        /* Activation Flags */
  61.     BOOLGADGET,        /* Gadget Type */
  62.     (APTR)&def_assignI1,    /* Render Image */
  63.     NULL,            /* Select Image */
  64.     NULL,            /* Gadget Text */
  65.     NULL,            /* Mutual Exclude */
  66.     NULL,            /* Special Info */
  67.     0,            /* Gadget ID */
  68.     (APTR) 0x0001,        /* User Data (Revision) */
  69.     },
  70.     WBPROJECT,            /* Icon Type */
  71.     (char *)"sys:prefs/assignprefs",              /* Default Tool */
  72.     def_assignTools,            /* Tool Type Array */
  73.     NO_ICON_POSITION,        /* Current X */
  74.     NO_ICON_POSITION,        /* Current Y */
  75.     NULL,            /* Drawer Structure */
  76.     NULL,            /* Tool Window */
  77.     4096                /* Stack Size */
  78. };
  79.